import React, { Component } from 'react';
import RouterView from '../../router/RouterView';
import Footer from "../../components/Footer"
import "./style.scss"
class Index extends Component {
    render() {
        const { routes}=this.props
        return (
            <div className='box'>
                <main><RouterView routes={routes}></RouterView></main>
                <Footer routes={routes}></Footer>
            </div>
        );
    }
}

export default Index;
